<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="pragram" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache, must-revalidate"/>
    <meta http-equiv="expires" content="0"/>
    <meta name="renderer" content="webkit"/>
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>方便大师充值记录</title>
    <link rel="stylesheet" href="/assets/css/lib/pagination.css">
    <link rel="stylesheet" href="/assets/css/lib/bootstrap.min.css">
    <link rel="stylesheet" href="/assets/css/common.css">
    <link rel="stylesheet" href="/assets/css/consult_manage.css">
</head>
<body>
<div id="cms">
    <jsp:include page="title_bar.jsp"/>
    <jsp:include page="tab_bar.jsp"/>
    <div class="cms-content">
        <div class="current-place">
            <div class="place-title">当前位置:</div>
            <div class="place-val">首页/方便大师</div>
        </div>
        <div class="seek-box">
            <div class="common-title">
                <div class="common-left-line"></div>
                <div class="common-text">条件查询</div>
            </div>
            <div class="seek-content">

                <div class="seek-group">
                    <div class="seek-unit">
                        <span class="seek-unit-left">交易的具体时间</span>
                        <div class="seek-unit-right">
                            <input type="text" class="Wdate " id="start-time"/>
                            <span>-</span>
                            <input type="text" class="Wdate " id="end-time"/>
                        </div>
                    </div>
                    <div class="seek-unit">
                        <span class="seek-unit-left">设备唯一编码</span>
                        <div class="seek-unit-right">
                            <input type="text" class="form-control client-name" id="sbwybm">
                        </div>
                    </div>
                    <div class="seek-unit">
                        <div class="seek-unit-left seek-btn"  >
                            查询
                        </div>
                        <div class="seek-unit-right seek-clear"  >
                            清空条件
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <div class="table-box">
            <table class="table table-bordered">
                <thead>
                <tr>
                    <th>
                        <div>ID</div>
                    </th>
                    <th>
                        <div>应用分类</div>
                    </th>
                    <th>
                        <div>设备唯一编码</div>
                    </th>
                    <th>
                        <div>用户标识</div>
                    </th>
                    <th>
                        <div>订单编号</div>
                    </th>
                    <th>
                        <div>金额（元）</div>
                    </th>
                    <th style="min-width: 70px">
                        <div>
                            <span>支付方式</span>
                        </div>
                    </th>
                    <th>
                        <div>支付时间</div>
                    </th>
                    <th>
                        <div>支付状态</div>
                    </th>
                       <th>
                        <div>备注</div>
                    </th>
                </tr>
                </thead>
                <tbody id="tbody1">

                </tbody>
                <script id="list1" type="text/html">
                    <!for(k in result){
                    var v=result[k];
                    !>
                    <tr>
                        <td class="id"><!=v.id==null?'':v.id!></td>
                        <td class="appTag"><!=v.appTag==null?'':(v.appTag==1?'公众号':(v.appTag==2?'小程序':'app'))!></td>
                        <td class="deviceNum"><!=v.deviceNum==null?'':v.deviceNum!></td>
                        <td class="appOnlyId"><!=v.appOnlyId==null?'':v.appOnlyId!></td>
                        <td class="orderNum"><!=v.orderNum==null?'':v.orderNum!></td>
                        <td class="orderPrice"><!=v.orderPrice==null?'':back_money_handler(v.orderPrice/100)!></td>
                        <td class="payType"><!=v.payType==null?'':(v.payType==1?'微信':'支付宝')!></td>
                        <td class="payTime"><!= getFormatDate(v.payTime)!></td>
                        <td class="payStatus"><!=v.payStatus==null?'':(v.payStatus==0?'成功':(v.payStatus==1?'支付中':'失败'))!></td>
                        <td class="remark"><!=v.remark==null?'':v.remark!></td>
                    </tr>
                    <!}!>
                </script>

            </table>
            <div class="table-bottom clearfix">
                <div id="Pagination" class="pagination"><!-- 这里显示分页--></div>
                <span id="currentCount"></span>
            </div>
        </div>

    </div>
</div>


</body>
<script type="text/javascript" src="/assets/js/lib/jquery-1.12.3.js"></script>
<script type="text/javascript" src="/assets/js/lib/bootstrap.min.js"></script>
<script type="text/javascript" src="/assets/js/lib/modal.js"></script>
<script type="text/javascript" src="/assets/js/lib/cmsmodal.js"></script>

<script type="text/javascript" src="/assets/js/lib/distpicker.data.js"></script>
<script type="text/javascript" src="/assets/js/lib/distpicker.js"></script>
<script type="text/javascript" src="/assets/js/lib/jquery.pagination.js"></script>

<script type="text/javascript" src="/assets/js/lib/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/assets/js/common.js"></script>
<script type="text/javascript" src="/assets/js/communal/template.js"></script>
<script type="text/javascript" src="/assets/js/convenientPayFlow.js"></script>
</html>